package jlib.component.clock
{
	import jlib.utils.Clock;
	import jlib.utils.DateUtil;
	import jlib.utils.StringUtil;
	
	public class SimpleClock extends Clock
	{
		public function SimpleClock($autoStart:Boolean=true)
		{
			super($autoStart);
		}
		
		/**
		 * 디지털 넘버로 보여줌 ex) 01:24, 12:10
		 * @return 시간 String 객체.
		 */		
		public function toDigi(): String 
		{
			return StringUtil.addZero(getHour()) + ":" + StringUtil.addZero(getMin());
		}
	}//c
}